package com.facesdk;
import java.util.ArrayList;


public class FaceInfo {
	
	public FaceInfo(){
		face_pos_arr=new ArrayList<FRect>();
		eye_info_arr=new ArrayList<EyeInfo>();
		face_min_size=new FSize();
		face_max_size=new FSize();
	}
	public int getFace_num() {
		return face_num;
	}
	public void setFace_num(int face_num) {
		this.face_num = face_num;
	}
	
	public ArrayList<FRect> getFace_pos_arr() {
		return face_pos_arr;
	}
	public ArrayList<EyeInfo> getEye_info_arr() {
		return eye_info_arr;
	}
	public FSize getFace_min_size() {
		return face_min_size;
	}
	public FSize getFace_max_size() {
		return face_max_size;
	}

	public void addFace_pos(int left,int top,int width,int height){
		FRect face_pos=new FRect();
		face_pos.setLeft(left);
		face_pos.setTop(top);
		face_pos.setWidth(width);
		face_pos.setHeight(height);
		
		face_pos_arr.add(face_pos);
	}
	
	public void addEye_info(int leftx,int lefty,int rightx,int righty){
		EyeInfo eye_info=new EyeInfo();
		eye_info.setLeftAndRight(leftx, lefty, rightx, righty);
		eye_info_arr.add(eye_info);
	}
	
	public void setFace_min_size(int width,int height){
		face_min_size.setWidth(width);
		face_min_size.setHeight(height);
	}
	
	public void setFace_max_size(int width,int height){
		face_max_size.setWidth(width);
		face_max_size.setHeight(height);
	}
	
	private int face_num;
	private ArrayList<FRect> face_pos_arr;
	private ArrayList<EyeInfo> eye_info_arr;
	private FSize face_min_size;
	private FSize face_max_size;
}
